package org.example.familyterminalms.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.familyterminalms.entity.Model;

import java.util.List;


@Mapper
public interface ModelMapper {
    void insertModel(Model model);

    void updateModel(Model model);

    void deleteModelById(Long id);

    Model getModelById(Long id);

    List<Model> getAllModels();
}

